export { get, put, post, delete } from './serverice'

import { registerFn } from './serverice'

// 错误注册
import { CodeError } from './CodeError'
import { LoginError } from './LoginError'
import { RobotError } from './RobotError'

registerFn(1001, CodeError)
registerFn(1002, LoginError)
registerFn(1003, RobotError)
